<?php

declare(strict_types=1);

namespace App\Model;

use Hyperf\DbConnection\Model\Model;

/**
 * @property int $id 
 * @property string $flow_code 
 * @property string $flow_name 
 * @property string $version 
 * @property int $is_publish 
 * @property string $from_custom 
 * @property string $from_path 
 * @property string $create_time 
 * @property string $update_time 
 * @property string $deleted_at 
 * @property string $tenant_id 
 */
class Definition extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'definition';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'is_publish' => 'integer'];
}
